package com.gopay.common.domain.autowithdraw;

import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;


/**
 * The persistent class for the AW_CUST_RULE database table.
 * 
 */
@Entity
@Table(name="AW_CUST_RULE")
public class AwCustRule extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Id
    @SequenceGenerator(name="AW_CUST_RULE_GENERATOR", sequenceName="AW_CUST_RULE_SEQ")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="AW_CUST_RULE_GENERATOR")
    @Column(name="SQ" )
	private long sq;

	@Column(name="ACPS_ACCT_MAST_ID")
	private String acpsAcctMastId;

	@Column(name="AUDIT_STATUS")
	private String auditStatus;

	@Column(name="AUTO_WTHDR_AMOUNT")
	private BigDecimal autoWthdrAmount;

	@Column(name="AUTO_WTHDR_STATUS")
	private String autoWthdrStatus;

	@Column(name="AUTO_WTHDR_TYPE")
	private String autoWthdrType;

	@Column(name="CREATE_TIME")
	private Timestamp createTime;

	@Column(name="CYCLE_TYPE")
	private String cycleType;

	@Column(name="CYCLE_VALUE")
	private String cycleValue;

	@Column(name="DEFAULT_BANK_CARD_ID")
	private BigDecimal defaultBankCardId;

	@Column(name="LAST_UPDATE_TIME")
	private Timestamp lastUpdateTime;
	
	@Column(name="CUST_ID")
	private String custId;

	private String remark;

	private String remark1;

	private String remark2;
	
	@Column(name="OPERATOR_ID")
	private String operatorId;
	
	@Column(name="SHOW_STATUS")
	private String showStatus;

	@Column(name="CLOSE_OPR_NAME")
	private String closeOperatorName;
	
	@Column(name="CLOSE_TIME")
	private Timestamp closeTime;
	public AwCustRule() {
	}

	public long getSq() {
		return this.sq;
	}

	public void setSq(long sq) {
		this.sq = sq;
	}

	public String getAcpsAcctMastId() {
		return this.acpsAcctMastId;
	}

	public void setAcpsAcctMastId(String acpsAcctMastId) {
		this.acpsAcctMastId = acpsAcctMastId;
	}

	public String getAuditStatus() {
		return this.auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public BigDecimal getAutoWthdrAmount() {
		return this.autoWthdrAmount;
	}

	public void setAutoWthdrAmount(BigDecimal autoWthdrAmount) {
		this.autoWthdrAmount = autoWthdrAmount;
	}

	public String getAutoWthdrStatus() {
		return this.autoWthdrStatus;
	}

	public void setAutoWthdrStatus(String autoWthdrStatus) {
		this.autoWthdrStatus = autoWthdrStatus;
	}

	public String getAutoWthdrType() {
		return this.autoWthdrType;
	}
	
	

	public String getCustId() {
		return custId;
	}

	public void setCustId(String custid) {
		this.custId = custid;
	}

	public void setAutoWthdrType(String autoWthdrType) {
		this.autoWthdrType = autoWthdrType;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getCycleType() {
		return this.cycleType;
	}

	public void setCycleType(String cycleType) {
		this.cycleType = cycleType;
	}

	public String getCycleValue() {
		return this.cycleValue;
	}

	public void setCycleValue(String cycleValue) {
		this.cycleValue = cycleValue;
	}

	public BigDecimal getDefaultBankCardId() {
		return this.defaultBankCardId;
	}

	public void setDefaultBankCardId(BigDecimal defaultBankCardId) {
		this.defaultBankCardId = defaultBankCardId;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRemark1() {
		return this.remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return this.remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(String showStatus) {
        this.showStatus = showStatus;
    }

    public String getCloseOperatorName() {
        return closeOperatorName;
    }

    public void setCloseOperatorName(String closeOperatorName) {
        this.closeOperatorName = closeOperatorName;
    }

    public Timestamp getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Timestamp closeTime) {
        this.closeTime = closeTime;
    }


}